Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Javascript Validator in Designer
Feedback Type: Question
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always

Hi,

I've posted about this before and didn't get a a response, but have just run into this again so thought I'd try another post. Can anyone explain why Javascript validation doesn't work in Javascript Script Libraries?

I'd gotten round this problem by using File Resources to write Javascript and managing to get a JSLint validator installed, but now I'd like to start working with XPages and have found that you can only use javascript files set up as Script Libraries, not ones created a file resources.

I'm testing whether validation works like this: in my preferences - Javascript\Validator\Errors/Warnings - I've got optional semi-colon set to 'Warning'. I create a js script library, write a simple function like this:
function whatever() {
x = 1
}

and save. No warning anywhere. No option to right-click - Validate or any way I can see of setting the validation off.

Am I missing something here? Having a validator is such a timesaver that it's taking a big step backwards to have to start working without one, and it's really depressing to see those options in the preferences but not to be able to take advantage of them.

Thanks,
Emily.


Feedback number WEBB86PDEE created by ~Mario Rejipyzenader on 06/23/2010

Status: Open
Comments:

Javascript Validator in Designer (~Mario Rejipyze... 23.Jun.10)
. . Suggestion (~Michelle Cistu... 23.Jun.10)
. . there are two client JS editors ava... (~Elizabeth Xanl... 23.Jun.10)
. . . . Re: there are two client JS editors... (~Mario Rejipyze... 24.Jun.10)
. . . . . . if there's misconfiguration (~Elizabeth Xanl... 25.Jun.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS